[INFO] cloning repository https://github.com/Steven-Ireland/Rust-NBody
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Steven-Ireland/Rust-NBody" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSteven-Ireland%2FRust-NBody", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSteven-Ireland%2FRust-NBody'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 16b57a14bdddee1b270a0e6bfc1ca89696bed458
[INFO] checking Steven-Ireland/Rust-NBody against master#e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSteven-Ireland%2FRust-NBody" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Steven-Ireland/Rust-NBody on toolchain e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Steven-Ireland/Rust-NBody
[INFO] finished tweaking git repo https://github.com/Steven-Ireland/Rust-NBody
[INFO] tweaked toml for git repo https://github.com/Steven-Ireland/Rust-NBody written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Steven-Ireland/Rust-NBody already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 98ae0cf302425a73e012bbd3d9153bd1c6efe3f56d719da3f6407d1af7228bfe
[INFO] running `Command { std: "docker" "start" "-a" "98ae0cf302425a73e012bbd3d9153bd1c6efe3f56d719da3f6407d1af7228bfe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "98ae0cf302425a73e012bbd3d9153bd1c6efe3f56d719da3f6407d1af7228bfe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98ae0cf302425a73e012bbd3d9153bd1c6efe3f56d719da3f6407d1af7228bfe", kill_on_drop: false }`
[INFO] [stdout] 98ae0cf302425a73e012bbd3d9153bd1c6efe3f56d719da3f6407d1af7228bfe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 66ed934e8faf2ecf2d537333f86fe5703b09d3ac4bc6ad5073c5a80522065314
[INFO] running `Command { std: "docker" "start" "-a" "66ed934e8faf2ecf2d537333f86fe5703b09d3ac4bc6ad5073c5a80522065314", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling khronos_api v2.2.0
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]     Checking ppv-lite86 v0.2.6
[INFO] [stderr]     Checking token_store v0.1.2
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]     Checking remove_dir_all v0.5.2
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]     Checking c2-chacha v0.2.3
[INFO] [stderr]    Compiling xml-rs v0.7.0
[INFO] [stderr]    Compiling x11-dl v2.18.4
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling nanovg-sys v1.0.2
[INFO] [stderr]     Checking memmap v0.6.2
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]    Compiling wayland-scanner v0.12.5
[INFO] [stderr]    Compiling gl_generator v0.9.0
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking dlib v0.4.1
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]     Checking wayland-sys v0.12.5
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]    Compiling wayland-client v0.12.5
[INFO] [stderr]    Compiling wayland-protocols v0.12.5
[INFO] [stderr]    Compiling gl v0.10.0
[INFO] [stderr]    Compiling glutin v0.13.1
[INFO] [stderr]     Checking tempfile v3.1.0
[INFO] [stderr]     Checking nanovg v1.0.2
[INFO] [stderr]     Checking wayland-kbd v0.13.1
[INFO] [stderr]     Checking wayland-window v0.13.3
[INFO] [stderr]     Checking winit v0.11.3
[INFO] [stderr]     Checking nbody v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::f64::consts::PI`
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::f64::consts::PI;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `G` is never used
[INFO] [stdout]  --> src/world/mod.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | const G: f64 = 1.0; // wrong, just hacking this in for now.
[INFO] [stdout]   |       ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ORIGIN` is never used
[INFO] [stdout]   --> src/world/mod.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const ORIGIN: Point = Point { x: 0.0, y: 0.0 };
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RESTING` is never used
[INFO] [stdout]   --> src/world/mod.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub const RESTING: Vector = Vector { x: 0.0, y: 0.0 };
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Force` is never constructed
[INFO] [stdout]   --> src/world/mod.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct Force<'a> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_gravitational_force` is never used
[INFO] [stdout]   --> src/world/mod.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn get_gravitational_force (body1: Body, body2: Body) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_angle` is never used
[INFO] [stdout]   --> src/world/mod.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn get_angle (point1: Point, point2: Point) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_bodies` is never used
[INFO] [stdout]   --> src/world/mod.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn update_bodies(bodies: Vec<Body>, time_step: f64) -> Vec<Body> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/lib.rs:77:14
[INFO] [stdout]    |
[INFO] [stdout] 77 |     bodies = world::update_bodies(bodies);
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^-------- an argument of type `f64` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/world/mod.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn update_bodies(bodies: Vec<Body>, time_step: f64) -> Vec<Body> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^ -----------------  --------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 77 |     bodies = world::update_bodies(bodies, /* f64 */);
[INFO] [stdout]    |                                  ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nbody` (lib test) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "66ed934e8faf2ecf2d537333f86fe5703b09d3ac4bc6ad5073c5a80522065314", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "66ed934e8faf2ecf2d537333f86fe5703b09d3ac4bc6ad5073c5a80522065314", kill_on_drop: false }`
[INFO] [stdout] 66ed934e8faf2ecf2d537333f86fe5703b09d3ac4bc6ad5073c5a80522065314
